#! /bin/bash
[ -d /data/pgdata ] || mkdir -p /data/pgdata
[ -d /data/logs/portal ] || mkdir -p /data/logs/portal
[ -d /data/logs/rm ] || mkdir -p /data/logs/rm

## replaced by beat docker
# sudo mkdir -p /etc/filebeat/
# sudo mkdir -p /var/log/beat
# sudo cp ./filebeat.yml /etc/filebeat/
# sudo cp filebeatd.service /etc/systemd/system/filebeatd.service
# sudo systemctl daemon-reload
# sudo systemctl enable filebeatd
# sudo systemctl start filebeatd
